//
//  CarouselCollectionViewCell.m
//  Carousel
//
//  Created by dllo on 16/1/11.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CarouselCollectionViewCell.h"

@implementation CarouselCollectionViewCell

- (void)dealloc
{
    [_imageV release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createSubviews];
    }
    return self;
}

- (void)createSubviews
{
    
    self.imageV = [[UIImageView alloc] init];
    [self addSubview:self.imageV];
    [_imageV release];
    
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.imageV.frame = self.bounds;
}

@end
